package com.aloda.service;

import com.aloda.entity.OperateLog;
import com.aloda.query.OpLogPageDTO;
import com.aloda.result.PageResult;
import com.aloda.vo.OpLogVO;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.servlet.http.HttpServletResponse;

import java.util.List;

/**
* @author aloda
* @description 针对表【operate_log(操作日志表)】的数据库操作Service
* @createDate 2024-12-18 17:18:09
*/
public interface OperateLogService extends IService<OperateLog> {

    /**
     * 分页查询
     * @param opLogPageDTO
     * @return
     */
    PageResult<OpLogVO> pageQuery(OpLogPageDTO opLogPageDTO);

    /**
     * 导出操作日志信息到excel
     * @param response
     * @param ids
     */
    void exportOpLogToExcel(HttpServletResponse response, List<Long> ids);
}
